# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Jun 17 2015)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
from wx.lib.embeddedimage import PyEmbeddedImage
import image

###########################################################################
## Class MainFrame
###########################################################################

class MainFrame ( wx.Frame ):
	
	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 540,430 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.Size( 540,430 ) )
		
		bSizer5 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer6 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer10 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer16 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton22 = wx.BitmapButton( self, wx.ID_ANY,image._New_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer16.Add( self.m_bpButton22, 0, wx.ALL, 5 )
		
		self.m_staticText4 = wx.StaticText( self, wx.ID_ANY, u"     新建物料", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText4.Wrap( -1 )
		bSizer16.Add( self.m_staticText4, 0, wx.ALL, 5 )
		
		
		bSizer10.Add( bSizer16, 1, wx.EXPAND, 5 )
		
		
		bSizer6.Add( bSizer10, 1, wx.EXPAND, 5 )
		
		bSizer11 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer17 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton17 = wx.BitmapButton( self, wx.ID_ANY, image._Find_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer17.Add( self.m_bpButton17, 0, wx.ALL, 5 )
		
		self.m_staticText5 = wx.StaticText( self, wx.ID_ANY, u"     查找物料", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText5.Wrap( -1 )
		bSizer17.Add( self.m_staticText5, 0, wx.ALL, 5 )
		
		
		bSizer11.Add( bSizer17, 1, wx.EXPAND, 5 )
		
		
		bSizer6.Add( bSizer11, 1, wx.EXPAND, 5 )
		
		bSizer12 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer18 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton18 = wx.BitmapButton( self, wx.ID_ANY, image._Save_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer18.Add( self.m_bpButton18, 0, wx.ALL, 5 )
		
		self.m_staticText6 = wx.StaticText( self, wx.ID_ANY, u"     存入物料", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText6.Wrap( -1 )
		bSizer18.Add( self.m_staticText6, 0, wx.ALL, 5 )
		
		
		bSizer12.Add( bSizer18, 1, wx.EXPAND, 5 )
		
		
		bSizer6.Add( bSizer12, 1, wx.EXPAND, 5 )
		
		
		bSizer5.Add( bSizer6, 1, wx.EXPAND, 5 )
		
		bSizer8 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer13 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer19 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton23 = wx.BitmapButton( self, wx.ID_ANY, image._Del_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer19.Add( self.m_bpButton23, 0, wx.ALL, 5 )
		
		self.m_staticText9 = wx.StaticText( self, wx.ID_ANY, u"     删除物料", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText9.Wrap( -1 )
		bSizer19.Add( self.m_staticText9, 0, wx.ALL, 5 )
		
		
		bSizer13.Add( bSizer19, 1, wx.EXPAND, 5 )
		
		
		bSizer8.Add( bSizer13, 1, wx.EXPAND, 5 )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer20 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton24 = wx.BitmapButton( self, wx.ID_ANY, image._Poll_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer20.Add( self.m_bpButton24, 0, wx.ALL, 5 )
		
		self.m_staticText10 = wx.StaticText( self, wx.ID_ANY, u"     查询物料", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText10.Wrap( -1 )
		bSizer20.Add( self.m_staticText10, 0, wx.ALL, 5 )
		
		
		bSizer14.Add( bSizer20, 1, wx.EXPAND, 5 )
		
		
		bSizer8.Add( bSizer14, 1, wx.EXPAND, 5 )
		
		bSizer15 = wx.BoxSizer( wx.HORIZONTAL )
		
		bSizer21 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_bpButton25 = wx.BitmapButton( self, wx.ID_ANY,image._Exit_Mate.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		bSizer21.Add( self.m_bpButton25, 0, wx.ALL, 5 )
		
		self.m_staticText11 = wx.StaticText( self, wx.ID_ANY, u"     退出系统", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText11.Wrap( -1 )
		bSizer21.Add( self.m_staticText11, 0, wx.ALL, 5 )
		
		
		bSizer15.Add( bSizer21, 1, wx.EXPAND, 5 )
		
		
		bSizer8.Add( bSizer15, 1, wx.EXPAND, 5 )
		
		
		bSizer5.Add( bSizer8, 1, wx.EXPAND, 5 )
		
		bSizer161 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_bitmap3 = wx.StaticBitmap( self, wx.ID_ANY, image._logo.GetBitmap(), wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_bitmap3.SetFont( wx.Font( 20, 70, 90, 90, False, wx.EmptyString ) )
		
		bSizer161.Add( self.m_bitmap3, 0, wx.ALL, 5 )
		
		bSizer171 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText91 = wx.StaticText( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText91.Wrap( -1 )
		bSizer171.Add( self.m_staticText91, 0, wx.ALL, 5 )
		
		self.m_staticText101 = wx.StaticText( self, wx.ID_ANY, u"桑德科技（重庆）有限公司", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText101.Wrap( -1 )
		self.m_staticText101.SetFont( wx.Font( 20, 70, 90, 90, False, wx.EmptyString ) )
		
		bSizer171.Add( self.m_staticText101, 0, wx.ALL, 5 )
		
		
		bSizer161.Add( bSizer171, 1, wx.EXPAND, 5 )
		
		
		bSizer5.Add( bSizer161, 1, wx.EXPAND|wx.LEFT|wx.SHAPED, 5 )
		
		
		self.SetSizer( bSizer5 )
		self.Layout()
		
		self.Centre( wx.BOTH )
		
		# Connect Events
		self.m_bpButton22.Bind( wx.EVT_BUTTON, self.on_btnNew_Mate )
		self.m_bpButton17.Bind( wx.EVT_BUTTON, self.on_btnFind_Mate )
		self.m_bpButton18.Bind( wx.EVT_BUTTON, self.on_btnSave_Mate )
		self.m_bpButton23.Bind( wx.EVT_BUTTON, self.on_btnDel_Mate )
		self.m_bpButton24.Bind( wx.EVT_BUTTON, self.on_btnSearch_Mate )
		self.m_bpButton25.Bind( wx.EVT_BUTTON, self.on_btnExit_Mate )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def on_btnNew_Mate( self, event ):
		event.Skip()
	
	def on_btnFind_Mate( self, event ):
		event.Skip()
	
	def on_btnSave_Mate( self, event ):
		event.Skip()
	
	def on_btnDel_Mate( self, event ):
		event.Skip()
	
	def on_btnSearch_Mate( self, event ):
		event.Skip()
	
	def on_btnExit_Mate( self, event ):
		event.Skip()
	

